﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using G15_Agent.Models.Transport;
using System.Web.Mvc;

namespace G15_Agent.Models.ViewModels.TransportViewModels
{
    public class BookTransportViewModel
    {
        public string serviceID { set; get; }
        public string vehicleID { set; get; }
        public LoaiXe loaiXe { set; get; }
        public DateTime ngayDi { set; get; }
        public DateTime ngayVe { set; get; }
        public int soTaiXe { set; get; }
        public int soLuong { set; get; }
        public List<SelectListItem> optionTaiXe
        {
            get
            {
                return new List<SelectListItem>
                {
                    new SelectListItem{Value="1", Text="1"},
                    new SelectListItem{Value="2", Text="2"},
                    new SelectListItem{Value="3", Text="3"},
                    new SelectListItem{Value="4", Text="4"},
                };
            }
        }

        public List<SelectListItem> optionSoLuong
        {
            get
            {
                return new List<SelectListItem>
                {
                    new SelectListItem{Value="1", Text="1"},
                    new SelectListItem{Value="2", Text="2"},
                    new SelectListItem{Value="3", Text="3"},
                    new SelectListItem{Value="4", Text="4"},
                    new SelectListItem{Value="5", Text="5"},
                    new SelectListItem{Value="6", Text="6"},
                    new SelectListItem{Value="7", Text="7"},
                    new SelectListItem{Value="8", Text="8"},
                };
            }
        }
    }
}